#pragma once

class Board
{
private:
	int data[20][20];
	int size = 0;

	int emptyy = -1;

public:
	static const int RED = 1;
	static const int BLUE = 2;
	static const int EMPTY = 0;

	Board(int size);

	Board(const Board & board);

	int get(int pos) const;

	int get(int x, int y) const;

	void set(int x, int y, int val);

	void set(int pos, int val);

	int s() const;

	int empty() const;
};